package edu.uow.devdocs
/**
 * The Team entity.
 *
 * @author    
 *
 *
 */
class Team {
	static auditable = true
    static mapping = {
         table 'TEAM'
         // version is set to false, because this isn't available by default for legacy databases
         version false
         id column:'TEAM_ID'
		 id generator: 'sequence', params:[sequence:'TEAM_SEQ']
		 sort team:'asc'
    }
    String team

    static constraints = {
        team(size: 0..255)
    }
    String toString() {
        return "${team}" 
    }
}
